import React ,{lazy} from 'react'
import Home from "../Home"
const Homedetailpic = lazy(() => import('../Home/Homedetailpic'))
const  Ranking = lazy(() => import('../HomeRanking'))
const Homedetail = lazy(() => import('../Home/Homedetail'))

const MyRoutes = 
	[
        {
            path: "/detail",
            element: <Homedetail/>
        },
        {
            path:'/',
            element: <Home/>,
        },
        {
            path:'/detailpic/:index',
            element: <Homedetailpic/>,
        },
        {
            path:'/ranking',
            element: <Ranking/>
        }

        
	]
export default MyRoutes
